<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%@ taglib prefix="s" uri="/struts-tags"%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%@page import="wildlife.*,java.sql.*" %>
<%
Connect c=new Connect();
ResultSet rs=c.getResult("select id from image where approved=0");
while(rs.next()){
	%>
	<img src="retrieve.jsp?id=<%= rs.getString("id") %>" height="150" width="150"/>
	<a href="confirmimage.action?id=<%=rs.getString("id")%>&accrej=accept"><input type="button" value="confirm" ></a>
	<a href="confirmimage.action?id=<%=rs.getString("id")%>&accrej=reject"><input type="button" value="reject" ></a>
<%
}

%>

</body>
</html>